package entity;

import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Product")
public class ProductEntity {
	
	private BigInteger productId;
	private String productName;
	private String productDescription;
	private BigInteger productCategoryId;
	private Date productWarrantyPeriod;
	private Double productListPrice;
	private Double productMinPrice;
	
	@Id
    @Column(name = "product_id")
    public BigInteger getProductId() {
        return productId;
    }
 
    public void setProductId(BigInteger productId) {
        this.productId = productId;
    }
    
    @Column(name = "prod_name")
    public String getProductName() {
        return productName;
    }
 
    public void setProductName(String productName) {
        this.productName = productName;
    }
    
    @Column(name = "description")
    public String getProductDescription() {
        return productDescription;
    }
 
    public void setProductDescription(String productDescription) {
        this.productDescription = productDescription;
    }
    
    @Column(name = "category_id")
    public BigInteger getProductCategoryId() {
        return productCategoryId;
    }
 
    public void setProductCategoryId(BigInteger productCategoryId) {
        this.productCategoryId = productCategoryId;
    }
    
    @Column(name = "warranty_period")
    public Date getProductWarrantyPeriod() {
        return productWarrantyPeriod;
    }
 
    public void setProductWarrantyPeriod(Date productWarrantyPeriod) {
        this.productWarrantyPeriod = productWarrantyPeriod;
    }
    
    @Column(name = "list_price")
    public Double getProductListPrice() {
        return productListPrice;
    }
 
    public void setProductListPrice(Double productListPrice) {
        this.productListPrice = productListPrice;
    }
    
    @Column(name = "min_price")
    public Double getProductMinPrice() {
        return productMinPrice;
    }
 
    public void setProductMinPrice(Double productMinPrice) {
        this.productMinPrice = productMinPrice;
    }
    
	

}
